// 我们下载的@reduxjs/toolkit包中,有一个configureStore是用来配置store的
import{configureStore}from '@reduxjs/toolkit'
// 引入我们countSlice中暴露的reducer
import countReducer from './slice/countSlice'
import movieReducer from "./slice/movieSlice";

// 创建store,并链接reducer
const store = configureStore({
    reducer:{
        count:countReducer,
        movie:movieReducer
    }
})
// 暴露store
export default store